Introduction to XML
What is content?
What is XML?
What can I do with content stored in XML format?
Understanding XML
The problems XML solves
Working with XML
XML elements and XML tags
XML Attributes
Empty elements
Comments
Processing instructions
XML declaration
Entity references
Well-formed XML
Valid XML
XML processors
Working with DTDs
External and internal DTDs
Planning a DTD
Using a DTD
Controlling tag selection and order
Allowing empty tags
Using character references
Using entity references
Defining attributes
IGNORE and INCLUDE
Using public DTDs
Combining DTDs to create composite DTDs
Making local modifications to imported DTDs
Validating an XML file against a DTD
Industry-Standard DTDs
Pros and cons of using industry-standard DTDs
Can I use an industry-standard DTD?
Extending industry-standard DTDs
Sample avenue.quark Scenario
The situation
Step 1: Create or choose a DTD
Step 2: Create an XML document
Step 3: Create a tagging rule set
Step 4. Save the XML document as a template
Step 5. Open the QuarkXPress document you want to tag
Step 6. Create a new XML document based on the XML template
Step 7. Perform rule-based tagging
Step 8. Perform any necessary manual tagging
Step 9. Use your structured content on the Web and elsewhere
XML Workspace Palette
Save (button)
Save As (button)
Save As (dialog box)
Revert to Saved (button)
Preview XML (button)
Drag and Drop (button)
Synchronize Content (button)
Pencil (icon)
Tagging Rule Set (pop-up menu)
XML Tree (list)
Content Preview (list)
XML Tree (pop-up menu)
Content (area)
Break Dynamic Link (button)
Generate ID (button)
Content (field)
File Menu
XML (command)
New XML (dialog box)
Template (list)
DOCTYPE (area)
Tagging Rule Set (area)
Edit Menu
avenue.quark Preferences (command)
avenue.quark Preferences (dialog box)
Show Tagged Content (area)
Tagging Rule/Position Options (area)
Marker Text (button)
Enable Dynamic Content Update (check box)
Tagging Rules (command)
Tagging Rules (dialog box)
Edit Tagging Rules (dialog box)
DTD Tree (list)
Add Rule, Duplicate, and Delete (buttons)
Rules (list)
Rule Setting (area)
View Menu
Show Invisibles, Hide Invisibles (command)
Utilities Menu
Show Tagged Content, Hide Tagged Content (command)
Choose Rule/Position Dialog Box
Setting Defaults
Understanding Rule Weighting
Understanding Rule-Based Tagging
What is a tagging rule set?
How rule-based text tagging works
Tagging rule conflicts
Working with Tagging Rule Sets
Creating a tagging rule set
Editing, duplicating, and deleting tagging rule sets
Creating, Opening, and Saving XML Documents
Creating an XML document
Opening an XML document
Saving an XML document
Working with XML Templates
Creating an XML template
Working with XML Document Content
Inserting or replacing an element, comment, PCDATA block, or processing instruction
Deleting an element, comment, PCDATA block, or processing instruction
Tagging Text
Tagging text manually
Tagging text with rule-based tagging
Editing tagged text
Appendix A: XML Quick Reference
The parts of an XML document
XML declaration
DOCTYPE declaration (including DTD)
Elements
Attributes
Comments
Processing instructions
Character references
Entity references
Well-formed XML
Valid XML
Appendix B: DTD Quick Reference
The parts of a DTD
Element type declarations
Attribute declarations
Comments
Character references
Entity reference declarations
Notation declarations
Processing instructions
Appendix C: Understanding Encodings
What is an encoding?
Lower and upper character ranges
Specifying encodings
Encodings and DTDs